<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Article extends Model
{
	//use SoftDeletes;
    protected $table = "article";

    public function users(){
    	return $this->belongsTo("App\User", "opertion_user_id", "id");	
    }

    public function author(){
    	return $this->belongsTo("App\User", "user_id", "id");	
    }
}
